import React from "react"
import {Button, WingBlank} from "antd-mobile";
import {Link} from "react-router-dom";

export default class Question extends React.Component {
    style = {
        position: 'absolute',
        width: '100%',
        height: '100%',
        top: 0,
        bottom: 0,
        backgroundImage: "url('/img/tj/background_1.png')",
        backgroundRepeat: 'no-repeat',
        backgroundSize: '100% 100%',
        overFlowY: 'auto',
    }

    render() {
        return (
            <div style={this.style}>
                <div style={{padding:'10%'}}>
                    <Button onClick={() => window.location.href = "https://www.wjx.cn/jq/78116096.aspx"}
                            style={{marginTop: '48%'}} type="warning">幸福感小测验</Button>
                    <Button onClick={() => window.location.href = "https://www.wjx.cn/jq/78116264.aspx"}
                            style={{marginTop: '8%'}} type="warning">生活主宰观小测验</Button>
                    <Button onClick={() => window.location.href = "https://www.wjx.cn/jq/78115906.aspx"}
                            style={{marginTop: '8%'}} type="warning">自我和谐小测验</Button>
                </div>

            </div>
        );
    }
}